package com.community.web.user.service;

import com.community.model.entity.User;
import com.community.web.user.vo.LoginVo;
import com.community.web.user.vo.RegisterVo;

public interface LoginService {
    void sendCode(String phone);

    String login(LoginVo loginVo);

    String getUsername(Long userId);

    void register(RegisterVo registerVo);

    void checkPhone(String phone);

    void checkCode(String code, String phone);

    void updatePassword(User user);
}
